package com.jk.dao.account;

import com.jk.entity.account.AccDepartmentAccount;
import com.jk.util.mybatis.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import org.springframework.dao.DataAccessException;

/**
 * ACC_DEPARTMENT_ACCOUNT dao
 * Tue Sep 22 11:02:19 CST 2015 yanghuan
 */
@MyBatisRepository
public interface AccDepartmentAccountDao {

    int deleteByPrimaryKey(@Param(value = "accDepartmentAccountId") String key) throws DataAccessException;

    int insert(AccDepartmentAccount accDepartmentAccount) throws DataAccessException;

    AccDepartmentAccount selectByPrimaryKey(AccDepartmentAccount accDepartmentAccount) throws DataAccessException;

    int updateByPrimaryKeySelective(AccDepartmentAccount accDepartmentAccount) throws DataAccessException;

    int updateByPrimaryKey(AccDepartmentAccount accDepartmentAccount) throws DataAccessException;

    int delete(AccDepartmentAccount accDepartmentAccount) throws DataAccessException;
}

